package com.tea.funct.domain;

import com.tea.common.annotation.Excel;
import com.tea.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 产品明细对象 tea_details
 *
 * @author Sophia
 * @date 2024-05-25
 */
@Data
public class TeaDetails extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 产品id
     */
    @Excel(name = "产品id")
    private Long productId;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long userId;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    private String productName;

    /**
     * 产品数量
     */
    @Excel(name = "产品数量")
    private Long amount;

    /**
     * 单价
     */
    @Excel(name = "单价")
    private BigDecimal unitPrice;

    /**
     * 总价
     */
    @Excel(name = "总价")
    private BigDecimal totalPrice;

    /**
     * 序号
     */
    @Excel(name = "序号")
    private Long productSort;

}
